libs/light: Rework generation of include/_libxl_*.h
authorAnthony PERARD <anthony.perard@citrix.com>
Thu, 13 Oct 2022 13:05:09 +0000 (14:05 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 14 Oct 2022 19:56:57 +0000 (20:56 +0100)
commit68d19cfb90a5bb6257e03be3f21c912bac7ec49b
tree54daf18a919d4beb89b095605518585af332b131
parent9eb46d3f9808417ee84a38778d808d34058fb546
libs/light: Rework generation of include/_libxl_*.h

Instead of moving the public "_libxl_*.h" headers, we make a copy to
the destination so that make doesn't try to remake the targets
"_libxl_*.h" in libs/light/ again.

A new .PRECIOUS target is added to tell make to not deletes the
intermediate targets generated by "gentypes.py".

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-acked-by: Henry Wang <Henry.Wang@arm.com>
tools/libs/light/Makefile